<script>
/*
 * @Author: wzh 
 * @Date: 2020-12-18 00:27:52 
 * @Last Modified by: 1521620993@qq.com
 * @Last Modified time: 2020-12-18 00:42:59
 */
</script>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>03-三种盒子更进一步的区别</title>
</head>
<body>
  <style>
    /* div{
      background-color: wheat;
      width: 300px;
      height: 300px;
      padding: 30px;
    } */
    span{
      background-color: red;
      border: 3px solid blue;
      width: 100px;
      height: 100px;
      font-size: 26px;
      line-height: 3;
      padding-top: 10px;
      padding-bottom: 10px;
      padding-left: 100px;
      padding-right: 100px;
      border-top: 10px solid blue;
      border-bottom: 10px solid blue;
      border-left: 10px solid blue;
      border-right: 10px solid blue;
      margin-left: 100px;
      margin-right: 100px;
      margin-top: 100px;
      margin-bottom: 100px;
    }
    .box{
      display: inline-block;
      background-color: wheat;
      width: 300px;
      height: 300px;
      padding: 60px;
      border: 10px solid red;
      margin: 100px;
    }
  </style>
  <div>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eveniet adipisci voluptas hic mollitia magni eum animi alias laboriosam, ratione corrupti libero similique ullam vitae dignissimos, perspiciatis esse qui quo cupiditate.</div>
  <span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat, ducimus! Odio dolorem quo deserunt est nobis illum, eaque ipsam libero reprehenderit ratione ipsum, atque, aperiam laboriosam! Sed, quam! Eaque, quas.</span>
  <span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat, ducimus! Odio dolorem quo deserunt est nobis illum, eaque ipsam libero reprehenderit ratione ipsum, atque, aperiam laboriosam! Sed, quam! Eaque, quas.</span>
  <div class="box">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora sint natus illum eveniet! Eius velit expedita, necessitatibus id quibusdam consequatur eaque, vel molestiae iusto porro quisquam quod illo itaque illum.</div>
</body>
</html>